package com.tourlaid.mamagerment.ao.pc

import com.tourlaid.mamagerment.entity.ResponseData
import com.tourlaid.mamagerment.entity.StockInVo
import com.tourlaid.mamagerment.form.StockInForm
import com.tourlaid.mamagerment.vo.StockInListVo
import java.util.*

/**
 * Created by xiaoyongge on 2017/7/23.
 */
interface StockInAo {

    fun list(pageNo: Int, pageSize: Int): ResponseData<ArrayList<StockInListVo>>

    fun insert(goodsId: Long?, supplierId: Long?, controlNo: String?, stock: Int?)

    fun detail(stockInId: Long): StockInVo?

    fun  update(form: StockInForm)

    fun  delete(stockInId: Long?)

    fun  getStock(stockInId: Long): Int

}